package com.xmb.wcapi.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xmb.wcapi.constant.R;
import com.xmb.wcapi.entity.BaseMaterial;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangping
 * @since 2024-06-14
 */
public interface IBaseMaterialService extends IService<BaseMaterial> {

    IPage<BaseMaterial> getBaseMaterialList(Integer page, Integer limit, String cusCode, String invCode, String invDef);

    List<BaseMaterial> getBaseMaterialDetailsList(String bomId, String cusCode);

    R saveBaseMaterial(List<BaseMaterial> list, BaseMaterial baseMaterial1);

    List<BaseMaterial> getReport(String bomId, String cusCode);

    List<BaseMaterial> getReportNext(String bomId, String cusCode);

    IPage<BaseMaterial> iosBaseList(Integer page, Integer limit, String cusCode, String invCode, String invDef);

    List<String> selectBaseMaterialAllGroupSet();

    List<BaseMaterial> getMaterialNext();
}
